package lng.site.balafon.dao;

import java.util.List;
import java.sql.Timestamp;

import lng.site.balafon.model.*;
/**
 * <p>Generic DAO layer for Messages</p>
 * <p>Generated at Thu Aug 02 21:53:17 CEST 2012</p>
 *
 * @author Salto-db Generator v1.0.16 / EJB3 + Spring/Hibernate DAO + TestCases
 * @see http://www.hibernate.org/328.html
 */
public interface MessageDAO extends GenericDAO<Message,Integer> {

	/*
	 * TODO : Add specific businesses daos here.
	 * These methods will be overwrited if you re-generate this interface.
	 * You might want to extend this interface and to change the dao factory to return 
	 * an instance of the new implemenation in buildMessageDAO()
	 */
	  	 
	/**
	 * Find Message by expediteurIdmembre
	 */
	public List<Message> findByExpediteurIdmembre(Integer expediteurIdmembre);

	/**
	 * Find Message by recepteurIdmembre
	 */
	public List<Message> findByRecepteurIdmembre(Integer recepteurIdmembre);

	/**
	 * Find Message by titre
	 */
	public List<Message> findByTitre(String titre);

	/**
	 * Find Message by date
	 */
	public List<Message> findByDate(Timestamp date);

	/**
	 * Find Message by contenu
	 */
	public List<Message> findByContenu(String contenu);

}